import i18n from '@/utils/i18n'
export const formItems = [
  {
    filed: 'orderId',
    type: 'input',
    label: i18n.t('message.ddh'),
    clearable: true
  },
  {
    filed: 'type',
    type: 'select',
    label: i18n.t('message.zflx'),
    clearable: true,
    options: []
  },
  {
    filed: 'payMethod',
    type: 'select',
    label: i18n.t('message.zflx'),
    clearable: true,
    options: []
  },
  {
    filed: 'status',
    type: 'select',
    label: i18n.t('message.ddzt'),
    clearable: true,
    // labelCode: 'name',
    options: [
      { value: '1', label: i18n.t('message.wfk') },
      { value: '2', label: i18n.t('message.yfk') },
      { value: '3', label: i18n.t('message.yqx') },
      { value: '4', label: i18n.t('message.fkyqx') }
    ]
  },
  {
    filed: 'memberInfo',
    type: 'input',
    label: i18n.t('message.memberInfo'),
    placeholder: i18n.t('message.hy3'),
    clearable: true
  }, {
    filed: 'time',
    type: 'daterange',
    clearable: true
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
